/*
Copyright SecureKey Technologies Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

package ledger

import (
	"git.cloud.inspur.com/ichain/ichain-sdk-go/pkg/providers/ichain"
)

const (
	cscc            = "SC_CHAIN"
	csccConfigBlock = "GetConfigBlock"
)

func createConfigBlockInvokeRequest(chainID string) ichain.ContractInvokeRequest {
	cir := ichain.ContractInvokeRequest{
		ContractID: cscc,
		Fcn:        csccConfigBlock,
		Args:       [][]byte{[]byte(chainID)},
	}
	return cir
}
